
def main(images :list) -> dict:
    '''
    提取图片的url
    Args:
        images:
    Returns: result 图片地址
    '''
    def extract_image_url(images: list)->str:
        result = ""
        for image in images:
           result = image.get("url")
        return result
    return {
        "result": extract_image_url(images)
    }


#测试
images = [{"url": "https://sc-maas.oss-cn-shanghai.aliyuncs.com/outputs%2F20250718%2Ful8fpuihih.png?Expires=1752838118&OSSAccessKeyId=LTAI5tQnPSzwAnR8NmMzoQq4&Signature=anmx4IsGSN03FI8uRIk9f7%2FtBb4%3D"}]
print(main(images))